package com.nq.dao.activaity;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nq.activaity.dto.UserSpecifiedPrizeResp;
import com.nq.activaity.entity.StUserSpecifiedPrize;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: 用户指定奖品表
 * @Author: jeecg-boot
 * @Date:   2024-11-06
 * @Version: V1.0
 */
public interface StUserSpecifiedPrizeMapper extends BaseMapper<StUserSpecifiedPrize> {

    StUserSpecifiedPrize queryPrizeByUserId(@Param("userId") Integer userId);

    IPage<UserSpecifiedPrizeResp> queryPageList(Page<StUserSpecifiedPrize> page, @Param("ew") QueryWrapper<StUserSpecifiedPrize> queryWrapper);
}
